package com.bawei.fuxi.ui.friends;

import com.bawei.fuxi.base.mvp.BaseView;
import com.bawei.fuxi.base.utils.ConstantUtils;
import com.bawei.fuxi.entity.ResultEntity;
import com.bawei.fuxi.entity.VideoEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface FriendsContract {
    interface IFriendsModel{
        Observable<VideoEntity> video( int currentPage,  int pageSize);
        Observable<ResultEntity> dianzan( int videoId);
        Observable<ResultEntity> guanzhu(RequestBody requestBody);
    }

    interface IFriendsView extends BaseView {
       void showVideo(VideoEntity videoEntity);
       void showDianZan(ResultEntity resultEntity);
        void showGuanZhu(ResultEntity resultEntity);
    }


    interface IFriendsPresenter{
       void video( int currentPage,  int pageSize);
       void dianzan( int videoId);
       void guanzhu(RequestBody requestBody);
    }
}
